package com.wan37.logic.tradingshop.dao;

import com.wan37.logic.dao.BaseDao;
import com.wan37.logic.tradingshop.domain.entity.TradingShopRecordDO;

import java.util.List;

/**
 * @author : luoyong
 * @date : 2020-08-05 11:07
 **/
public interface TradingShopRecordDao extends BaseDao<TradingShopRecordDO> {
    List<TradingShopRecordDO> findByTradingShopId(String tradingShopId);
    List<TradingShopRecordDO> findByUserId(String userId);
    List<TradingShopRecordDO> findByBuyId(String buyId);
    List<TradingShopRecordDO> findByRecordId(String recordId);
    boolean deleteByTradingShopId(String tradingShopId);
}
